package com.ruoyi.system.mapper.shopping;

import com.ruoyi.system.domain.shopping.Address;
import com.ruoyi.system.domain.shopping.Area;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AddressMapper {
    int insertAddress(Address address);

    int updateAddress(Address address);

    List<Address> selectList(Integer userId);

    int deleteAddress(@Param("userId") Integer userId,@Param("addressId") Integer addressId);

    Address selectAddress(Integer addressId);
}
